package com.example.notificationservice.service;

import com.example.notificationservice.entity.NotificationEntity;

import java.util.List;

/**
 * @Author: dang
 * @Description: TODO
 * @Date: 2025/3/26 17:13 星期三
 */
public interface NotificationService {
    NotificationEntity createNotification(NotificationEntity notification);
    NotificationEntity getNotificationById(String notificationId);
    NotificationEntity markNotificationAsRead(String notificationId);
    void deleteNotification(String notificationId);
    List<NotificationEntity> getAllNotifications();
    List<NotificationEntity> getNotificationsByClientId(String clientId);
    List<NotificationEntity> getNotificationsByType(String type);
    List<NotificationEntity> getNotificationsByClientIdAndType(String clientId, String type);
    List<NotificationEntity> getUnreadNotificationsByClientId(String clientId);
}
